home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 2002 November / SGI Freeware 2002 November - Disc 2.iso / dist / fw_glimpse.idb / usr / freeware / src / glimpse-3.0 / configure.in.z / configure.in
Text File  |  1997-09-09  |  733b  |  22 lines

  1. dnl Process this file with autoconf to produce a configure script.
  2. AC_INIT(get_filename.c)
  3. AC_PROG_CC
  4. AC_PROG_RANLIB
  5. AC_PROG_LN_S
  6. AC_PROG_INSTALL
  7. dnl Checks for header files.
  8. AC_HEADER_DIRENT
  9. AC_CHECK_HEADERS(sys/select.h)
  10.  
  11. dnl Check for libraries
  12. AC_CHECK_LIB(nsl, gethostname, [LIBS="$LIBS -lnsl"])
  13. AC_CHECK_LIB(socket, setsockopt, [LIBS="$LIBS -lsocket"])
  14.  
  15. dnl Optional stuff
  16. AC_ARG_ENABLE(structured-queries,, AC_DEFINE(STRUCTURED_QUERIES,0),AC_DEFINE(STRUCTURED_QUERIES,1))
  17. AC_ARG_ENABLE(pointer,,, AC_DEFINE(AGREP_POINTER))
  18. AC_ARG_ENABLE(measure-times,, AC_DEFINE(MEASURE_TIMES))
  19.  
  20. AC_OUTPUT(Makefile index/Makefile compress/Makefile agrep/Makefile libtemplate/Makefile libtemplate/util/Makefile libtemplate/template/Makefile)
  21.  
  22.